.class Lcom/example/m6wmr/ShopdetActivity$1;
.super Landroid/os/Handler;
.source "ShopdetActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ShopdetActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ShopdetActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ShopdetActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    .line 98
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 100
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 101
    iget v1, p1, Landroid/os/Message;->arg1:I

    sparse-switch v1, :sswitch_data_0

    .line 166
    :goto_0
    :sswitch_0
    return-void

    .line 113
    :sswitch_1
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/example/m6wmr/ShopdetActivity;->access$0(Lcom/example/m6wmr/ShopdetActivity;Z)V

    goto :goto_0

    .line 116
    :sswitch_2
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:goodsloadata("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->goodsstr:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ShopdetActivity;->access$2(Lcom/example/m6wmr/ShopdetActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto :goto_0

    .line 119
    :sswitch_3
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/ShopdetActivity;->loaddatatojs()Z

    goto :goto_0

    .line 122
    :sswitch_4
    const-string v1, "ShopshowACtivity"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u5237\u65b0\u8d2d\u7269\u8f66\u6570\u636e:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 123
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:freachcart("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto :goto_0

    .line 126
    :sswitch_5
    const-string v1, "ShopshowACtivity"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u6dfb\u52a0\u8d2d\u7269\u8f66\u6570\u636e:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 127
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:addcart("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 131
    :sswitch_6
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:downcart("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 135
    :sswitch_7
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:clearonecart("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 138
    :sswitch_8
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:downclscart("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 141
    :sswitch_9
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->setVisibility(I)V

    .line 142
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:loadshop("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->shopstr:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ShopdetActivity;->access$3(Lcom/example/m6wmr/ShopdetActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    .line 143
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    invoke-virtual {v1}, Lcom/example/m6wmr/ShopdetActivity;->getshoppingSource()Z

    goto/16 :goto_0

    .line 146
    :sswitch_a
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$1(Lcom/example/m6wmr/ShopdetActivity;)Landroid/webkit/WebView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "javascript:loadping("

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->pingstr:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ShopdetActivity;->access$4(Lcom/example/m6wmr/ShopdetActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 154
    :sswitch_b
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 155
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "shopid"

    iget-object v2, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->shopid:Ljava/lang/String;
    invoke-static {v2}, Lcom/example/m6wmr/ShopdetActivity;->access$5(Lcom/example/m6wmr/ShopdetActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 156
    const-string v1, "shopname"

    iget-object v2, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->shopname:Ljava/lang/String;
    invoke-static {v2}, Lcom/example/m6wmr/ShopdetActivity;->access$6(Lcom/example/m6wmr/ShopdetActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 157
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    const-class v2, Lcom/example/m6wmr/ShopDishesActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 158
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    invoke-virtual {v1, v0}, Lcom/example/m6wmr/ShopdetActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 161
    .end local v0    # "intent":Landroid/content/Intent;
    :sswitch_c
    iget-object v1, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    # getter for: Lcom/example/m6wmr/ShopdetActivity;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/ShopdetActivity;->access$7(Lcom/example/m6wmr/ShopdetActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v3, p0, Lcom/example/m6wmr/ShopdetActivity$1;->this$0:Lcom/example/m6wmr/ShopdetActivity;

    iget-object v3, v3, Lcom/example/m6wmr/ShopdetActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v3}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 101
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_0
        0x2 -> :sswitch_0
        0xe -> :sswitch_1
        0xf -> :sswitch_2
        0x10 -> :sswitch_3
        0x12 -> :sswitch_4
        0x13 -> :sswitch_5
        0x14 -> :sswitch_6
        0x15 -> :sswitch_7
        0x16 -> :sswitch_8
        0x17 -> :sswitch_9
        0x18 -> :sswitch_a
        0x19 -> :sswitch_b
        0x6f -> :sswitch_c
    .end sparse-switch
.end method
